package com.dyw.springboot.entity;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Devil
 * @create 2022-01-25-13:36
 */
@Slf4j
@Data
@Component
@ConfigurationProperties("my")
public class ME {
    private String name;
    private Integer age;
    private String[] life;
}
